package top.hidoctor.auscultation.bean;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class ScreenDetailBean {

    /**
     * aiStatus : 20
     * calm : 0
     * coordinate : 欠配合
     * createdTime : 1607592454000
     * descn :
     * height : 0.00
     * hospitalId : 67918961378852864
     * id : 124925054671650816
     * no : 循音科技-IP0027_20190802T092312
     * operation :
     * patient : {"address":"","avatar":"portrait/beef.png","birthday":1293811200000,"gender":2,"guardian":"张**","name":"张**","phone":"136****5678"}
     * patientNo : 8888888
     * position : 卧位
     * remark :
     * screeningAnalysis : {"abnormalArea":"二尖瓣听诊区异常","abnormalProbability":"30%","asdProbability":"40%","createdTime":1607592454000,"id":"124925054671650816","pdaProbability":"20%","psProbability":"10%","tofProbability":"50%","vsdProbability":"30%"}
     * screeningAssess : {"conditions":"1","createdTime":1607592454000,"disease":"1","id":"124925054671650816","remake":"1"}
     * screeningDetail : {"duration":60000,"id":"124925054671650816","wavCheckCode":"6eaf571ea261184715722f876db96149c3dc0fd4","wavDataPath":"sample/2020/12/10/1607592422551_0.json","wavDataPathHeart":"","wavDataPathLung":"","wavDataPathMixture":"0","wavPath":"sample/2020/12/10/1607592422551_0.wav","wavPowerPics":"sample/2020/12/10/1607592422551_0.png","wavPowerPicsHeart":"","wavPowerPicsLung":"","wavPowerPicsMixture":"0"}
     * site : 急诊
     * source :
     * status : 20
     * weight : 0.00
     */

    private Integer aiStatus;
    private Integer calm;
    private String coordinate;
    private Long createdTime;
    private String descn;
    private String height;
    private String hospitalId;
    private String id;
    private String no;
    private String operation;
    private PatientBean patient;
    private String patientNo;
    private String position;
    private String remark;
    private ScreeningAnalysisBean screeningAnalysis;
    private ScreeningAssessBean screeningAssess;
    private ScreeningDetailBean screeningDetail;
    private String site;
    private String source;
    private Integer status;
    private String weight;

    @NoArgsConstructor
    @Data
    public static class PatientBean {
        /**
         * address :
         * avatar : portrait/beef.png
         * birthday : 1293811200000
         * gender : 2
         * guardian : 张**
         * name : 张**
         * phone : 136****5678
         */

        private String address;
        private String avatar;
        private Long birthday;
        private Integer gender;
        private String guardian;
        private String name;
        private String phone;
        private String heathCare;
        private String idCard;
    }

    @NoArgsConstructor
    @Data
    public static class ScreeningAnalysisBean {
        /**
         * abnormalArea : 二尖瓣听诊区异常
         * abnormalProbability : 30%
         * asdProbability : 40%
         * createdTime : 1607592454000
         * id : 124925054671650816
         * pdaProbability : 20%
         * psProbability : 10%
         * tofProbability : 50%
         * vsdProbability : 30%
         */

        private String abnormalArea;
        private String abnormalProbability;
        private String asdProbability;
        private Long createdTime;
        private String id;
        private String pdaProbability;
        private String psProbability;
        private String tofProbability;
        private String vsdProbability;
    }

    @NoArgsConstructor
    @Data
    public static class ScreeningAssessBean {
        /**
         * conditions : 1
         * createdTime : 1607592454000
         * disease : 1
         * id : 124925054671650816
         * remake : 1
         */

        private String conditions;
        private Long createdTime;
        private String disease;
        private String id;
        private String remake;
    }

    @NoArgsConstructor
    @Data
    public static class ScreeningDetailBean {
        /**
         * duration : 60000
         * id : 124925054671650816
         * wavCheckCode : 6eaf571ea261184715722f876db96149c3dc0fd4
         * wavDataPath : sample/2020/12/10/1607592422551_0.json
         * wavDataPathHeart :
         * wavDataPathLung :
         * wavDataPathMixture : 0
         * wavPath : sample/2020/12/10/1607592422551_0.wav
         * wavPowerPics : sample/2020/12/10/1607592422551_0.png
         * wavPowerPicsHeart :
         * wavPowerPicsLung :
         * wavPowerPicsMixture : 0
         */

        private Integer duration;
        private String id;
        private String wavCheckCode;
        private String wavDataPath;
        private String wavDataPathHeart;
        private String wavDataPathLung;
        private String wavDataPathMixture;
        private String wavPath;
        private String wavPowerPics;
        private String wavPowerPicsHeart;
        private String wavPowerPicsLung;
        private String wavPowerPicsMixture;
    }
}
